package com.cheneyjoo.service.impl;

import com.cheneyjoo.dao.ArticleDao;
import com.cheneyjoo.model.Article;
import com.cheneyjoo.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ArticleServiceImpl implements ArticleService {
    @Autowired
    private ArticleDao articleDao;

    @Override
    public void saveArticle(Article article) {
        articleDao.saveArticle(article);
    }
}
